<%@ page import="com.yidao.jdbc.uitls.Ulog" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%
    String flag = request.getParameter("flag");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>用户登录</title>
    <link href="form.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript">
        var flag = '<%=flag %>';
        if ("1" == flag) {
            alert("请登录系统！");
        }
    </script>
</head>
<body>
<form action="/jdbc/filter/login.jsp" method="get" class="smart-green">
    <h1>系统登录</h1>

    <label>
        <span>用户名:</span>
        <input id="username" type="text" name="username"/>
    </label>

    <label>
        <span>密码:</span>
        <input id="password" type="password" name="password"/>
    </label>

    <span>&nbsp;</span>

    <label>
        <input type="submit" class="button" value="登录"/>
    </label>

</form>
</body>
</html>